﻿//        Another Demo from Andy L. & MissedMemo.com
// Borrow whatever code seems useful - just don't try to hold
// me responsible for any ill effects. My demos sometimes use
// licensed images which CANNOT legally be copied and reused.

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;


namespace MissedMemo.MeatAndCheeseDisc.Services
{
    [DataContract( Namespace = "http://schemas.MissedMemo.com/MeatAndCheeseDisc/2008/05" )]
    public class Order
    {
        [DataMember]
        public int NowServingNumber { get; set; }

        [DataMember]
        public Customer Customer { get; set; }

        [DataMember]
        public DateTime DateTimeOrderPlaced { get; set; }

        [DataMember]
        public DateTime DateTimeOrderExpectedComplete { get; set; }

        [DataMember]
        public Nullable<DateTime> DateTimeOrderCompleted { get; set; }

        [DataMember]
        public bool DeliveryRequested { get; set; }

        [DataMember]
        public List<Pizza> Items { get; set; }

        [DataMember]
        public double TotalCost { get; set; }
    }
}
